package com.pan.excep.enume;

public enum AspectErrorEnum {

    ASPECT_ANNOTATION_TARGET_ERROR(500,"获取不到代理对象"),
    ASPECT_ANNOTATION_PARAMETER_ERROR(500,"注解参数设置错误");

    private Integer code;
    private String message;

    AspectErrorEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
